package com.atguigu.spring.tx.service;

import org.springframework.boot.autoconfigure.security.SecurityProperties;

public interface UserService {
    public boolean buyBook(int uid, int bid, int amount);

    public void buyBookWithTx(int uid, int bid, int amount);
}
